package com.ddtech.business.check.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ddtech.business.check.entity.CheckUserQuestion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 考核用户题目信息 Mapper 接口
 * </p>
 *
 * @author bin_pu
 * @since 2023-02-06
 */
@Mapper
public interface CheckUserQuestionMapper extends BaseMapper<CheckUserQuestion> {
    /**
     * 获取错题集
     * @param page
     * @param questionName
     * @param userId
     * @return
     */
    IPage<CheckUserQuestion> getErrorPageList(IPage page, @Param("questionName") String questionName, @Param("userId")String userId);
}
